﻿/*
 * @author: wizardc
 */

using Dou.GPU;
using UnityEngine;

namespace Demo.WorldMap
{
    /// <summary>
    /// GPU 绘制接口调用驱动
    /// </summary>
    [DefaultExecutionOrder(900)]
    public class GPURenderer : MonoBehaviour
    {
        void LateUpdate()
        {
            GPUSkinnedMeshMgr.instance.Update(Time.deltaTime);
            GPUInstancingMgr.instance.Draw();
        }
    }
}
